package com.bsb.base.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.bsb.base.model.BsbRapid;
import com.bsb.base.model.BsbRapidExample;
import com.bsb.base.model.Rapid;

public interface BsbRapidMapper extends BaseMapper<BsbRapid>{
    int countByExample(BsbRapidExample example);

    int deleteByExample(BsbRapidExample example);

    int deleteByPrimaryKey(String uuid);

    Integer insert(BsbRapid record);

    int insertSelective(BsbRapid record);

    List<BsbRapid> selectByExample(BsbRapidExample example);

    BsbRapid selectByPrimaryKey(String uuid);

    int updateByExampleSelective(@Param("record") BsbRapid record, @Param("example") BsbRapidExample example);

    int updateByExample(@Param("record") BsbRapid record, @Param("example") BsbRapidExample example);

    int updateByPrimaryKeySelective(BsbRapid record);

    int updateByPrimaryKey(BsbRapid record);

    List<BsbRapid> selectPage(BsbRapidExample example);
    
    List<Rapid> selectPageRapid(@Param("sql") String sql);
    
    Integer countRapid(@Param("sql") String sql);
}